package com.qimen.mapper;

import com.qimen.bean.Ganzhi;
import com.qimen.bean.Huajiazi;
import com.qimen.bean.HuajiaziExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface HuajiaziMapper {
    int countByExample(HuajiaziExample example);

    int deleteByExample(HuajiaziExample example);
    List<Ganzhi> selectGanzhi();
    int insert(Huajiazi record);

    int insertSelective(Huajiazi record);

    List<Huajiazi> selectByExample(HuajiaziExample example);
    String selectXunshou(String hours);
    String selectKongWang(String hours);
    int updateByExampleSelective(@Param("record") Huajiazi record, @Param("example") HuajiaziExample example);

    int updateByExample(@Param("record") Huajiazi record, @Param("example") HuajiaziExample example);
}